import { 
  legacy_createStore, 
  combineReducers, 
  applyMiddleware 
} from "redux";

import thunk from "redux-thunk";
import logger from "redux-logger";

import reducer from "./reducer/reducer";
const All_reducer=combineReducers({
    reducer
})

const store =legacy_createStore(All_reducer,applyMiddleware(thunk,logger))

export default store
